quartz: Emit GdkDisplay::setting-changed
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Oct 2017 13:02:33 +0000 (09:02 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Oct 2017 13:27:59 +0000 (09:27 -0400)
We still generate the event too.
That will be removed in a future commit.

gdk/quartz/gdkevents-quartz.c

index b119b35ed119747ac03529400371b5fbf52c42fc..707d295e30abe32585402aca794cdf4c7f121b34 100644 (file)
@@ -82,6 +82,8 @@ gdk_quartz_ns_notification_callback (CFNotificationCenterRef  center,
     return;
 
   gdk_event_put (&new_event);
+
+  gdk_display_setting_changed (_gdk_display, new_event.setting.name);
 }
 
 static void